Skip to content

fix: Remove trailing whitespace from open_meteo.py line 102 (W293) - #340

Merged
peterdudfield merged 1 commit into
openclimatefix:mainfrom
Raakshass:fix/whitespace-open-meteo
Feb 16, 2026
Merged

fix: Remove trailing whitespace from open_meteo.py line 102 (W293)#340
peterdudfield merged 1 commit into
openclimatefix:mainfrom
Raakshass:fix/whitespace-open-meteo

Conversation

@Raakshass

Copy link
Copy Markdown
Contributor

Pull Request

Description

Fixes lint error W293 (blank line contains whitespace) at line 102 of quartz_solar_forecast/weather/open_meteo.py.

This is a quick fix to unblock CI checks that are failing due to this whitespace issue. The pull_request_target workflow runs against the main branch, which currently has trailing whitespace on line 102. This causes all PRs to fail the lint-typecheck (pull_request_target) check.

Fixes the CI blocker for PR #339 and other open PRs.

How Has This Been Tested?

  • Yes

Ran ruff check quartz_solar_forecast/weather/open_meteo.py locally to confirm no lint errors after the fix.

Checklist:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

@Raakshass

Copy link
Copy Markdown
Contributor Author

Note to Maintainers

The lint-typecheck (pull_request) check passes ✅, confirming this fix is correct.

The lint-typecheck (pull_request_target) check fails because it runs against the main branch code (per GitHub's security model), and main currently has this whitespace issue.

Once this PR is merged, main will be fixed and the pull_request_target check will start passing for all PRs.

This is blocking PR #339 and other open PRs from having fully green CI.

@peterdudfield

Copy link
Copy Markdown
Contributor

ready to merge?

@Raakshass

Raakshass commented Feb 5, 2026

Copy link
Copy Markdown
Contributor Author

Yes @peterdudfield , ready to merge
The test-unit (3.11) failure is a pre-existing issue unrelated to this 1-line whitespace fix. The lint-typecheck (pull_request) passes, which is what this PR addresses.

Once merged, the pull_request_target lint checks will pass for all open PRs!

@Raakshass

Copy link
Copy Markdown
Contributor Author

Hi @peterdudfield!
Just a gentle follow-up - this 1-line whitespace fix has been approved and ready to merge for a few days now.
Merging this will unblock the pull_request_target CI checks for all open PRs (including #334 and #341).
Thanks

@peterdudfield
peterdudfield merged commit ee083b7 into openclimatefix:main Feb 16, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants